package com.lwq.designpattern.behavioralPatterns.templatePattern;

/**
 * @ClassName
 * @Description 模板模式
 * @Author liwq
 * @Date 2021/4/29 17:42
 * @Version 1.0
 */
public class TemplatePatternDemo {
    public static void main(String[] args) {
        Game game1 = new BasketballGame();
        game1.play();

        Game game2 = new FootballGame();
        game2.play();

    }
}
